﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Bombardiman
{
    public class Speed: Bonus
    {
        private int speed;

        public Speed()
            : base()
        {}

        public void Initialize(Texture2D texture, Vector2 position, bool active, int width, int height, int speed)
        {
            base.setTexture(texture);
            base.setPosition(position);
            base.setActive(active);
            base.setWidth(width);
            base.setHeight(height);

            this.speed = speed;
        }

        public void Update(GameTime gameTime)
        {
            // needs edit
            base.Update(gameTime);
        }
        public int getSpeed()
        {
            return speed;
        }
        public void setSpeed(int speed)
        {
            this.speed = speed;
        }
    }
}
